import { combineReducers } from 'redux';

import canvas, { CanvasState } from './canvas/reducers';

export interface IRootState {
  readonly canvas: CanvasState;
}

// 收集所有Reducer
export default combineReducers<IRootState>({
  canvas,
});
